﻿using Shop.RemoteModel;
using Shop.RemoteModel.AdvertPlace.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Shop.Service.Interface
{
    public interface IAdvertPlaceService
    {
        Dictionary<long, string> GetExampleImg ( string[] placeType );
        PagingResult<AdvertPlaceDto> Query ( AdvertPlaceQueryParam query, IBasicPage paging );
        AdvertPlaceItem[] GetItems ( AdvertPlaceGetParam query );
        AdvertPlaceConfig GetPlaceConfig ( long id );
        long Add ( AdvertPlaceAdd add );
        void Delete ( long id );
        AdvertPlace Get ( long id );
        bool Set ( long id, AdvertPlaceSet set );

        void Enable ( long id );

        void Stop ( long id );
        AdvertPlaceDto[] Gets ( AdvertPlaceStatus? status );
    }
}